|
|
 |
|
|
|
|
</SCRIPT>
</HEAD>
<BODY>
<BR>
<H3>Enter your name:</H3>
<P>
<HR>
<FORM NAME=Form1>
<INPUT NAME=Text1 TYPE=TEXT VALUE=>
<INPUT NAME=Command1 TYPE=BUTTON VALUE=Say Hello!>
</FORM>
</BODY>
</HTML> |
|
|
|
|
|
|
|
|
As you can see, VBScript allows you to add complex processing code to your Web-based applications. |
|
|
|
|
|
|
|
|
Note Don't try to use any of the included Visual Basic constants that you've probably become used to. VBScript doesn't support them, which means that you have to code the numeric values for such constants as vbInformation. |
|
|
|
|
|
|
|
|
|
If you start Internet Explorer or Netscape and open this Web page, the resulting display should look like Figure 14.13. |
|
|
|
|
|
|
|
|
Figure 14.13.
Displaying the demo HTML/VBScript Web page in Internet Explorer. |
|
|
|
|
|